package com.axjy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by dell on 2017/10/31.
 */
@Controller
public class DispatcherController {

    @RequestMapping("/{folder}/{page}/index")
    public String forward(@PathVariable("folder")String folder,@PathVariable("page")String page){
        return folder+"/"+page;
    }

}
